﻿@{
    Layout = AdminLTEUI.LayoutPath.DefaultLayoutPath;

    WebUI.CurrentUserName = "User";
    //WebUI.LogoutUrl = "/Home/Logout";
    WebUI.AvatarImageUrl = "";

    WebUI.Menus = new[]
    {
        new PageMenu("iframe-测试", "/IFrameTest/Index", ""),
        new PageMenu("非iframe-Index", "/Home/Index", "Index"),
        new PageMenu("非iframe-List", "/Home/List", "List"),
        new PageMenu("非iframe-Tab", "/Home/Tab", "Tab"),
        new PageMenu("非iframe-OuterBorderView", "/Home/OuterBorderView", "OuterBorderView"),
        new PageMenu("非iframe-FileUploadView", "/Home/FileUploadView", "FileUploadView"),
        
        new PageMenu()
        {
            Hide = false,
            Title = "Parent",
            ChildMenus = new[]
            {
                new PageMenu()
                {
                    Title = "Child_One",
                    GotoUrl = "/Home/Child1",
                    Key = "Child1"
                },
                new PageMenu()
                {
                    Title = "Child_Two",
                    GotoUrl = "/Home/Child2",
                    Key = "Child2",
                    ChildMenus = new[]
                    {
                        new PageMenu("Grandchild1"),
                        new PageMenu("Grandchild2"),
                    }
                },
            }
        },
        new PageMenu("AdminList", "/AdminCore/AdminLogin/AdminList", "AdminList"),
        new PageMenu("ChangePassword", "/AdminCore/AdminLogin/ChangePassword", "ChangePassword"),
    };
}

@*@section logo{
    @RenderSection("logo", false)
}*@

@section scripts{
    @RenderSection("scripts", false)
}

@section styles{
    @RenderSection("styles", false)
}

@section footer{
    @RenderSection("footer", false)
}

@RenderBody()